//
//  TXSearchInputBox.h
//  QianYan
//
//  Created by jay on 2020/8/7.
//  Copyright © 2020 jay. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "InputItemTextField.h"

NS_ASSUME_NONNULL_BEGIN

@interface TXSearchInputBox : UIView

@property (nonatomic, strong) InputItemTextField *inputTF;

@property (nonatomic, copy) void (^searchTextBlock) (NSString *text);

- (id)initWithFrame:(CGRect)frame
     leftViewMargin:(CGFloat )leftViewMargin
    rightViewMargin:(CGFloat )rightViewMargin
     textLeftMargin:(CGFloat )textLeftMargin
    textRightMargin:(CGFloat )textRightMargin;

-(void)setLeftViewIcon:(UIImage *)image;
-(void)setInputTextColor:(UIColor *)textColor textFont:(UIFont *)textFont;
-(void)setPlaceholderText:(NSString *)placeholderText placeholderColor:(UIColor *)placeholderColor;

@end

NS_ASSUME_NONNULL_END
